package com.fbty.mt.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;



public class RegistServlet extends HttpServlet{

	@Override
	protected void service(HttpServletRequest request, HttpServletResponse resp)
			throws ServletException, IOException {
		String validTime = request.getParameter("validTime");
		String path = request.getContextPath();
		String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
		System.out.println("path:"+path);
		System.out.println("basePath:"+basePath);
		request.getRequestDispatcher("/user/user!regist.do").forward(request, resp);
	}
	
}
